package club.beimeng.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class DemoData {

    @ExcelProperty(value = "学生编号",index = 0) //设置表头的位置，即过滤掉第一行
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
/*
 *
 * @author Mr.Bao
 * @date 2021/7/24 13:03
 */